﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CI.Caja.BE.BE_Turno>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Modificar Turno
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Modificar Turno</h2>

    <% Html.EnableClientValidation(); %>
    <% using (Html.BeginForm("Edit", "Turno", FormMethod.Post))
       {%>
        <%: Html.ValidationSummary(true) %>
        
        <fieldset>
            <legend>Turno</legend>
            
            <div class="editor-label">
                Código
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.IdTurno, new { disabled = "disabled" })%>
                <%: Html.ValidationMessageFor(model => model.IdTurno)%>
            </div>
            
            <div class="editor-label">
                Descripción
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.DescripTurno) %>
                <%: Html.ValidationMessageFor(model => model.DescripTurno) %>
            </div>
            
            <div class="editor-label">
                Hora Inicio
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.HoraInicio) %>
                <%: Html.ValidationMessageFor(model => model.HoraInicio) %>
            </div>
            
            <div class="editor-label">
                Hora Fin
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.HoraFin) %>
                <%: Html.ValidationMessageFor(model => model.HoraFin) %>
            </div>
            
            <p>
                <input type="submit" value="Modificar" />
            </p>
        </fieldset>

    <% } %>

    <div>
    </div>

</asp:Content>

